package com.itheima.a;

import com.itheima.a.Employee;

public class Clerk extends Employee {
    String Manager;

    @Override
    public void showMsg() {
        System.out.println(toString());
    }

    public Clerk(String name, String workId, String dept) {
        super(name, workId, dept);
    }

    public Clerk(String name, String workId, String dept, String manager) {
        super(name, workId, dept);
        Manager = manager;
    }

    public String getManager() {
        return Manager;
    }

    public void setManager(String manager) {
        Manager = manager;
    }

    @Override
    public String toString() {
        return super.toString()+"，他的职员是" + Manager ;
    }
}
